Skip to content

Angular +19, query hydration, SSR example, devtools in separate package#10340

Draft
benjavicente wants to merge 54 commits intoTanStack:mainfrom
benjavicente:angular-19-updates
Draft

Angular +19, query hydration, SSR example, devtools in separate package#10340
benjavicente wants to merge 54 commits intoTanStack:mainfrom
benjavicente:angular-19-updates

Conversation

@benjavicente
Copy link

@benjavicente benjavicente commented Mar 26, 2026

🎯 Changes

This is a continuation of #9986 (which is a continuation of #9893).

This is not intended to be in a reliable state, but can be used as a reference for other PRs for angular. I have not reviewed and cleanup all of the changes yet to have them ready for a release/merge, but I can do it if needed. I used AI mainly for refractors and examples.

Besides updating the docs and adding a couple of examples, this PR adds:

  • Hydration helpers with withHydration and provideServerTanStackQueryHydration.
  • A separate package for devtools, aligning the behaviour to the rest of the packages (the idea of only adding angular- prefixed packages instead of needing to install the core directly).
  • Proper angular testing via analog vite plugin.
  • Remove deprecated apis, like provideAngularQuery
  • Update some remaining <19 features, like using provideEnvironmentInitializer
  • Persister SSR support

I published the packages in my own scope to be used to experiment with them before getting similar changes in main here:

  • @benjavicente/angular-query-experimental
  • @benjavicente/angular-query-devtools
  • @benjavicente/angular-query-persist-client

I am happy to help getting the package out of experimental 👀

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm run test:pr.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

arnoud-dv and others added 30 commits March 26, 2026 19:20
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 26, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 776862c9-1916-4a86-a76a-8f8197034cc6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants